

<table class="layui-table">
  <colgroup>

	<col >
	<col >
	<col >
	<col >
	<col >
	<col >
	<col >
	<col >
	<col >



  </colgroup>
  <thead>
    <tr>
      <th>所属客户</th>
      <th>开始日期</th>
      <th>结束日期</th>
      <th>合同金额</th>
      <th>项目金额</th>
      <th>项目利润</th>
      <th>项目类型</th>
      <th>介绍人</th>
      <th>状态</th>
    </tr>
  </thead>
  <tbody>








      <tr>
      <td><?echo $data['name']?></td>
      <td><?echo substr($data['startdate'],0,10)?></td>
	  <td><?echo substr($data['enddate'],0,10)?> </td>
	  <td><?echo $data['contract_sum']?></td>
	  <td><?echo $data['sum']?></td>


	  <td>
          <? echo $data['profit'] ?>
      </td>



          <td><?echo $data['type']?></td>

<? $agent = select(member_data,$data['agent']); ?>
<td>
    <a  target="_blank" href="../member/detail-statistic.php?&nid=<?echo $data['agent']?>">
    <?echo $agent['name']?>
    </a>
</td>



	  <td><?echo $data['status']?></td>


    </tr>



  </tbody>
</table>


